<?php
/**
 * Created by PhpStorm.
 * User: yuanjie
 * Date: 2017/5/5
 * Time: 下午4:33
 */
class PosDeviceController extends BaseController
{
    //http://pay.yangche1hao.com/pos/device/status?device_en=351952ac
    public function status(){
        $device_en = '351952ac';

        $response = Pos::statusDevice($device_en);
        Log::info("info", array("system" => "pos" ,"event" => "check", 'input' =>Input::all() ,"output" => $response));
        return json_encode($response);
    }
}